#!/usr/bin/env python3


# if的条件中可以为非bool类型，主要结果为真
var1 = 100
if var1:
    print("1 - if 表达式为true")
    print(var1)

var2 = 0;
if var2:     
    print("2 - if 表达式为true")
    print(var2)
print("Good bye")
print('--------------------------------------------------------------------------')


age = int(input("请输入你家狗的年龄："))
print("")

if age <= 0:
    print("taht's impossible")
elif age == 1:
    print("相当于14岁的人")
elif age == 2:
    print("相当于22岁的人")
elif age > 2:
    human = 22 + (age -2)*5
    print("对应人类年龄：",human)

input("点击enter退出")
print('--------------------------------------------------------------------------')


